

var express = require('express');
var router = express.Router();
const SectionService = require('../services/section_service.js');
/* GET home page. */
router.get('/', function(req, res, next) {

  res.send('respond with a resource'+req);

});
router.post('/department',SectionService.findDepartment);
router.get("/find_by_page",SectionService.findByPage);

router.get('/answer',SectionService.findByDepartment);
module.exports = router;

